package com.evan.designpatterns.prototype.deep;

/**
 * @author :liujiapeng01
 * @date :2019-03-14 13:16
 **/
public class Test {
    public static void main(String[] args) {
        Student student = new Student();
        student.setAge(10);
        student.setName("tom");


        Student student1 = student.cloneNew();

        System.out.println(student==student1);
        System.out.println(student.getAge()==student1.getAge());
        System.out.println(student.getName()==student1.getName());

    }
}
